<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,minimum-scale=1" />
<title>统计结算-商家中心</title>
<link rel="stylesheet" type="text/css" href="../../css/base.css">
<link rel="stylesheet" type="text/css" href="../../css/nctouch_seller.css">
<link rel="stylesheet" type="text/css" href="../../css/nctouch_common.css">
<link rel="stylesheet" type="text/css" href="../../css/nctouch_cart.css">
</head>
<body>
<header id="header" class="fixed">
   <div class="header-wrap">
    <div class="header-l"><a href="javascript:history.go(-1)"><i class="back"></i></a></div>
    <div class="header-title">
      <h1>统计结算</h1>
    </div>
    <div class="header-r"> <a id="header-nav" href="javascript:void(0);"><i class="more"></i><sup></sup></a> </div>
  </div>
  <div class="nctouch-nav-layout">
    <div class="nctouch-nav-menu"> <span class="arrow"></span>
      <ul>
        <li><a href="../seller"><i class="home"></i>商家中心</a></li>
        <li><a href="../seller/goods_add.html"><i class="cc-14"></i>商品发布</a></li>
        <li><a href="../seller/goods_list.html"><i class="cc-11"></i>商品管理</a></li>
        <li><a href="../seller/order_list.html"><i class="cc-14"></i>订单管理</a><sup></sup></li>
        <li><a href="../seller/order_list.html?data-state=state_pay"><i class="cc-13"></i>设置发货</a><sup></sup></li>
        <li><a href="../seller/chat_list.html"><i class="cc-12"></i>IM客服<sup></sup></a></li>
      </ul>
    </div>
  </div>
</header>
<div class="nctouch-main-layout">
<!--   <div class="nctouch-order-search">
    <form>
      <span><input type="text" autocomplete="on" maxlength="50" placeholder="输入商品标题或订单号进行搜索" name="order_key" id="order_key" oninput="writeClear($(this));" >
      <span class="input-del"></span></span>
      <input type="button" id="search_btn" value="&nbsp;">
    </form>
  </div> -->
<!--   <div id="fixed_nav" class="nctouch-single-nav">
    <ul id="filtrate_ul" class="w20h">
      <li class="selected"><a href="javascript:void(0);" data-state="">出售商品</a></li>
      <li><a href="javascript:void(0);" data-state="state_new">仓库商品</a></li>
      <li><a href="javascript:void(0);" data-state="state_success">发布商品</a></li>
    </ul>
  </div> -->
  <div class="nctouch-order-list">
  	<div id="bill-list">
      
    </div>
  </div>

</div>
<div class="fix-block-r">
	<a href="javascript:void(0);" class="gotop-btn gotop hide" id="goTopBtn"><i></i></a>
</div>
<footer id="footer" class="bottom"></footer>
<script type="text/html" id="bill-list-tmpl">
<% var bill_list = datas.bill_list; %>
<% if (bill_list.length > 0){%>
  <dl style="border-top: solid 0.05rem #EEE;">
          <dt>
            <h3>
            <span class="bill-2">起止时间</span><span class="bill-3">本期应收</span><span class="bill-4">结算状态</span></h3>
            <h5></h5>
            
          </dt>
        </dl>
	<% for(var i = 0;i<bill_list.length;i++){
		var billList = bill_list[i];
	%>
		<dl style="border-top: solid 0.05rem #EEE;">
	        <dt><a href="store_bill_info.html?ob_id=<%=billList.ob_id;%>">
	          <h3><span class="bill-2"><%=billList.ob_time;%></span><span class="bill-3"><%=billList.ob_result_totals;%></span><span class="bill-4"><%=billList.ob_states;%></span></h3>
	          <h5><i class="arrow-r"></i></h5>
	          </a>
	        </dt>
      	</dl>
	<%}%>
	<% if (hasmore) {%>
	<li class="loading"><div class="spinner"><i></i></div>结算数据读取中...</li>
	<% } %>
<%}else {%>
	<div class="nctouch-norecord order">
		<div class="norecord-ico"><i></i></div>
		<dl>
			<dt>您还没有结算数据</dt>
			<dd>可能还没有到结算日期请耐心等待</dd>
		</dl>
		<a href="<%=WapSiteUrl+'/tmpl/seller/seller.html'%>" class="btn">返回商家中心</a>
	</div>
<%}%>
</script> 
<script type="text/javascript" src="../../js/zepto.min.js"></script> 
<script type="text/javascript" src="../../js/template.js"></script> 
<script type="text/javascript" src="../../js/config.js"></script> 
<script type="text/javascript" src="../../js/common-seller.js"></script> 
<script type="text/javascript" src="../../js/simple-plugin.js"></script> 
<script type="text/javascript" src="../../js/zepto.waypoints.js"></script> 
<script type="text/javascript" src="../../js/tmpl/seller/store_bill.js"></script>

</body>
</html>
